package org.liveboardgames.agricola.control.delegates.action.processor
{
    import org.liveboardgames.agricola.vo.action.Action;
    
    import mx.core.UIComponent;
    
    public class ActionProcessor extends UIComponent
    {
        public var action:Action;
        
        public function ActionProcessor(action:Action)
        {
            this.action = action;
        }
        
        public function execute():void
        {
            throw new Error("The execute() method of the Action should have been overridden");
        }
    
    }
}